#include <iostream>
#include <stdio.h>
#include <stdarg.h>  
#include <iostream>
#include <memory>
#include <stdarg.h> 
#include <stdlib.h>
#include "log.h"



int main(int argv, char**argc)
{
    printf("************  test hello zc!!!   **************\n");
    /* add test code! */
    Log::getInstance()->init(LOG_LEVEL_INFO,LOG_TARGET_FILE);
    printf("************  test hello zc!!!   **************\n");

    for(int i = 0; i < 10 ; i++)
    {
        Log::getInstance()->writeLog(LOG_LEVEL_DEBUG, __FILE__, __FUNCTION__, __LINE__, "i = %d",i);
    }
    Log::getInstance()->uinit();
    
    return 0;
}


